package com.yuyou.activity.comm.service.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class PayApplyTrade implements Serializable {
    /**
     * 主键
     */
    private Long payApplyTradeId;

    /**
     * 支付流水,请求唯一标记，用于日志记录和生产环境故障排查跟踪用
     */
    private String tradeSn;

    /**
     * 订单申请主键
     */
    private Long payApplyId;

    /**
     * 业务订单编号
     */
    private String orderId;

    /**
     * 支付中心请求报文
     */
    private String zyRequest;

    /**
     * 支付中心返回报文
     */
    private String zyResponse;

    /**
     * 4011:无效sign：sign校验失败
            4012:订单二次支付参数与首次支付不一致，校验失败
            4013:订单已成功支付过
            4014:无效金额
     */
    private String code;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getPayApplyTradeId() {
        return payApplyTradeId;
    }

    public void setPayApplyTradeId(Long payApplyTradeId) {
        this.payApplyTradeId = payApplyTradeId;
    }

    public String getTradeSn() {
        return tradeSn;
    }

    public void setTradeSn(String tradeSn) {
        this.tradeSn = tradeSn;
    }

    public Long getPayApplyId() {
        return payApplyId;
    }

    public void setPayApplyId(Long payApplyId) {
        this.payApplyId = payApplyId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getZyRequest() {
        return zyRequest;
    }

    public void setZyRequest(String zyRequest) {
        this.zyRequest = zyRequest;
    }

    public String getZyResponse() {
        return zyResponse;
    }

    public void setZyResponse(String zyResponse) {
        this.zyResponse = zyResponse;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}